﻿using Microsoft.AspNetCore.Authentication.OAuth;

namespace AuthClientApi.OAuth
{
    public class SBlogOAuthOptions:OAuthOptions
    {
        public SBlogOAuthOptions()
        {
            SignInScheme = "Cookies";
            CallbackPath = new PathString("/callback/login/local");
            SaveTokens = true;
            AuthorizationEndpoint = "https://localhost:44319/connect/authorize";
            TokenEndpoint = "https://localhost:44319/connect/token";
            UserInformationEndpoint = "https://localhost:44319/connect/userinfo";
        }
    }
}
